![]() |
PBSetVolSync |
||||
Header: | Files.h | Carbon status: | Unsupported | |
Changes the default volume and default directory.
OSErr PBSetVolSync ( ParmBlkPtr paramBlock );
A pointer to a basic File Manager parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume reference number or a working directory reference number.
If you pass a volume reference number in ioVRefNum, the PBSetVolSync function makes the specified volume the default volume and the root directory of that volume the default directory. If you pass a working directory reference number, PBSetVolSync makes the specified directory the default directory, and the volume containing that directory the default volume.
Not supported in Carbon. Not available in Carbon.
Obsolete. Use PBHSetVolSync instead.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)